<%--
  Created by IntelliJ IDEA.
  User: Aislli
  Date: 2016/11/17
  Time: 13:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %><%@ include file="/include.inc.jsp"%>
<html>
<head>
    <title>Title</title>
</head>
<body>
    hello ${key1}
    <div class="pageContent">
        <div class="panelBar">
            <ul class="toolBar">
                <li><a class="add" rel="pageNav" target="navTab" href="<c:url value='/TestController/add'/>" title="Add new Page"><span>Add</span></a></li>
                <li><a class="edit" rel="pageNav" target="navTab" href="<c:url value='/TestController/edit/{tr_id}'/>"><span>Edit</span></a></li>
                <li><a class="delete" target="ajaxTodo" href="<c:url value='/management/webpage/delete/{slt_pageId}'/>" title="Are you sure remove?"><span>Remove</span></a></li>
            </ul>
        </div>
        <table class="list" width="100%">
            <thead>
                <tr>
                    <td >序号</td>
                    <td>姓名</td>
                    <td>性别</td>
                    <td>年龄</td>
                </tr>
            </thead>
            <tbody>
                <c:forEach var="i" items="${key2}" varStatus="s">
                <tr target = "tr_id" rel="${i.userName}">
                    <td>${s.index+1}</td>
                    <td>${i.userName}</td>
                    <td>${i.sex}</td>
                    <td>${i.age}</td>
                </tr>
                </c:forEach>
            </tbody>
        </table>
    </div>
</body>
</html>
